{
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0)
}
html, body {
    height: 100%;
    margin: 0;
}

body {
    background: #fff;
    font-family: sans-serif;
}

.page-container {
    width: 100%;
    position: relative;
    background: #fff;
}

@media (min-width: 28em) {
    @media (min-height: 38em) {
        body {
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            background: #aaaaaa;
            position: relative;
        }

        .page-container {
            box-shadow: 0 0 1em rgba(0, 0, 0, .5);
            width: 28em;
            min-height: 40em;
            height: 40em;
        }
    }
    .page {
        background: #fff;
        transition: opacity 0.4s ease-in-out,
        transform 0.4s ease-in-out;
        width: 100%;
        height: 100%;
    }

    h2 {
        font-size: 1.1em;
        margin: .2em 0;
    }

    .header {
        background: #1293ea;
    }

    .header-content {
        width: 100%;
        box-sizing: border-box;
        padding: .4em .8em;
        color: #fff;
        display: flex;
        align-items: center;
        transition: opacity 0.4s ease-in-out,
        transform 0.4s ease-in-out;
    }

    .header h1 {
        font-weight: normal;
        margin: 0;
        font-size: 1.5em;
        line-height: 1.8em;
    }

    .header-title {
        color: #fff;
        font-size: 1.5em;
        line-height: 1.8em;
        transition: transform 0.4s ease-in-out;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .header .rank {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        width: 2.7em;
        height: 2.7em;
        margin-right: .5em;
        position: relative;
    }

    .header .rank-circle {
        position: absolute;
        background: #fff;
        width: 2.7em;
        height: 2.7em;
        border-radius: 1.35em;
        margin-right: .5em;
        transition: transform 0.4s ease-in-out;
        top: 0;
        left: 0;
    }

    .header-rank {
        z-index: 2;
        color: #1293ea;
        font-size: 1.5em;
    }

    .header .close {
        line-height: 1.8em;
        cursor: pointer;
        text-align: center;
        width: 1.8em;
        height: 1.8em;
        border-radius: .9em;
        background: rgba(0, 0, 0, .5);
        transition: transform 0.4s ease-in-out;
    }

    .option-bg {
        display: flex;
        align-items: center;
        justify-content: space-around;
    }

    .hero {
        transition: transform 0.4s ease-in-out,
        opacity 0.4s ease-in-out;
    }

    .del {
        float: right;
        min-width: 2em;
    }

    .page-content {
        position: relative;
        overflow: auto;
        width: 100%;
        height: calc(100% - 5.5em);
    }

    .list {
        position: absolute;
        width: 100%;
        transition: transform 0.4s ease-in-out,
        opacity 0.4s ease-in-out;
    }

    .option {
        cursor: pointer;
    }

    .desc {
        position: absolute;
        transition: transform 0.4s ease-in-out,
        opacity 0.4s ease-in-out;
        padding: 1em;
    }

    .spacer {
        flex: 1;
    }

    .row {
        cursor: pointer;
        box-sizing: border-box;
        padding: 1em;
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    .row:not(:first-child) {
        border-top: 1px solid #eeeeee;
    }

    .row div {
        display: inline-block;
    }

    .row span {
        text-align: center;
        margin-right: 1em;
        width: 1em;
    }
}
